package org.pine.api.beans.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 下拉响应体
 *
 * @author pine
 * @version v1.0
 * @since 2025-04-12 13:03
 */
@Data
@Schema(title = "DropDownRespons", description = "下拉响应体")
public class DropDownResponse<ID> implements Serializable {
    @Serial
    private static final long serialVersionUID = -7645758923094586845L;

    @Schema(title = "id", description = "id", example = "1")
    private ID id;

    @Schema(title = "code", description = "下拉选项编码")
    private String code;

    @Schema(title = "value", description = "下拉选项值")
    private Object value;
}
